﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace System.Web.Mvc.Html
{
    public static class DatePickerExtension
    {
        public static string DatePicker(this HtmlHelper htmlHelper, string name)
        {
            return string.Format("<input type=\"text\" id=\"{0}\" name=\"{0}\" value=\"\"/>", name);
        }

        public static string DatePicker(this HtmlHelper htmlHelper, string name, string value)
        {
            return string.Format("<input type=\"text\" id=\"{0}\" name=\"{0}\" value=\"{1}\"/>", name, value);
        }
    }
}
